From ba17dc3655b24a15328394719a1b2fa73b179743 Mon Sep 17 00:00:00 2001 From: "yjiang5@vtsmp-build32.sh.intel.com" Date: Wed, 28 Sep 2005 14:06:41 +0100 Subject: [PATCH] Save immediate operand into mcip structure. Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request. Signed-off-by: Yunhong Jiang --- xen/arch/x86/vmx_platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/vmx_platform.c b/xen/arch/x86/vmx_platform.c index 8052b1c7cd..3e805cac8c 100644 --- a/xen/arch/x86/vmx_platform.c +++ b/xen/arch/x86/vmx_platform.c @@ -667,6 +667,7 @@ static void mmio_operands(int type, unsigned long gpa, struct instruction *inst, mpcip->instr = inst->instr; mpcip->operand[0] = inst->operand[0]; /* source */ mpcip->operand[1] = inst->operand[1]; /* destination */ + mpcip->immediate = inst->immediate; if (inst->operand[0] & REGISTER) { /* dest is memory */ index = operand_index(inst->operand[0]); -- 2.30.2